home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 June: Reference Library / Dev.CD Jun 94.toast / Periodicals / develop / develop Issue 18 / develop 18 code / OSA Sample / Sources / ApplicationCommon.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-28  |  1.1 KB  |  43 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ApplicationCommon.h
  3.  
  4.     Contains:    Stuff common to Application.h and Application.r
  5.     
  6.     This module derived from the Apple Shared Library Manager
  7.     sample source code supplied with ASLM 1.1 (note that ASLM
  8.     is NOT required for, or used in, this project).
  9.     
  10.     Developed by:    
  11.         
  12.         Paul G Smith (commstalk hq & Full Moon Software, Inc)
  13.         
  14.         you can leave messages at (UK): 0727 844232; (US): 408 253 7199
  15.         BUT I prefer to be contacted by e-mail
  16.         AppleLink:     SMITH.PG
  17.         Internet:     SMITH.PG@applelink.apple.com
  18.         
  19.         "SimpliFace" Sample code to accompany develop article
  20.         on techniques for embedding scripts in applications.
  21.  
  22. */
  23.  
  24. #ifndef __APPLICATIONCOMMON__
  25. #define __APPLICATIONCOMMON__
  26.  
  27. /*
  28.     These definitions are shared by Rez and C++. We use #define statements
  29.     instead of constants in this file because Rez doesn't support constants.
  30.  */
  31.  
  32. /* Some constants for resource ID's */
  33. #define kApplicationErrStrings    128        /* error string list */
  34.  
  35. /* The following are indicies into our error STR# resource. */
  36. #define    eWrongMachine            1
  37. #define    eSmallSize                2
  38. #define    eNeedAS                    3
  39.  
  40. #define    rUserAlert    129                    /* user error alert */
  41.  
  42. #endif
  43.